//
//  DDFavouriteCollectionCell.h
//  Dingdong
//
//  Created by 程强 on 16/11/15.
//  Copyright © 2016年 程强. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^CollectionOperation)();

@interface DDFavouriteCollectionCell : UICollectionViewCell
@property (weak, nonatomic) IBOutlet UIImageView *goodsImage;
@property (weak, nonatomic) IBOutlet UILabel *goodsNameLbl;
@property (weak, nonatomic) IBOutlet UILabel *priceLbl;
@property (weak, nonatomic) IBOutlet UIButton *cancelBtn;
@property (weak, nonatomic) IBOutlet UIButton *buyBtn;
@property (strong, nonatomic) CollectionOperation buyBlock;
@property (strong, nonatomic) CollectionOperation cancelBlock;
- (void)userCollectionBuy:(CollectionOperation)buy cancel:(CollectionOperation)cancel;
@end
